# $Id: PKGBUILD 65092 2012-02-20 03:36:44Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Filip Wojciechowski, filip at loka dot pl

# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
#  - changes to build Cortex-A8/A9 tools

buildarch=4

pkgname=cpuburn
pkgver=1.4a
pkgrel=4
pkgdesc="CPU testing utilities in optimized assembler for maximum loading of CPUs"
arch=('i686' 'x86_64')
url="https://launchpad.net/ubuntu/+source/cpuburn/"
license=('GPL')
depends=()
source=(https://launchpad.net/ubuntu/+archive/primary/+files/cpuburn_$pkgver.orig.tar.gz)
md5sums=('a9e1df40c660324eb08e91847cbc41b9')

build() {
  cd "$srcdir/$pkgname-$pkgver/ARM"
  make CC=gcc
  install -Dm755 burnCortexA8 $pkgdir/usr/bin/burnCortexA8
  install -Dm755 burnCortexA9 $pkgdir/usr/bin/burnCortexA9
}
